package com.party.core.service.crowdfund;

import com.party.core.model.crowdfund.ProjectDetailCount;
import com.party.core.model.crowdfund.ProjectDetailCountInput;
import com.party.core.model.crowdfund.ProjectDetailCountOutput;
import com.party.core.service.IBaseService;

import java.util.Date;

/**
 * @Author: yangshoukun
 * @Date: 2018/6/12 15:38
 */
public interface IProjectDetailCountService extends IBaseService<ProjectDetailCount> {
    ProjectDetailCountOutput getCountByEvent(ProjectDetailCountInput input);

    ProjectDetailCount findByProjectIdDate(String projectId, Date createDate);

    void deleteByProjectId(String projectId);
}
